<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport('joomla.application.component.controller');

class Mwc_EmployeeController extends JController{
	function display(){
        $document =& JFactory::getDocument();         
		$model =& $this->getModel('Mwc_Employee'); 
        $viewName = JRequest::getVar('view', 'category', 'default', 'cmd');          
        $view  =& $this->getView($viewName, $document->getType()); 
        $view->setModel( $model, true );     
         
		$view->display();    
	}
}
?>